﻿$(document).ready(function() {
    var obj = document.getElementById("ctl00_MainContent_btnJBTS");
    var WinElementPos = getWinElementPos(obj);
    var val = document.getElementById("ctl00_MainContent_Panel1");
    val.style.display = "inline";
    if (WinElementPos != null && WinElementPos != undefined) {
        val.style.left = (parseInt(WinElementPos.x) + 190).toString() + "px";
        val.style.top = (parseInt(WinElementPos.y) - 25).toString() + "px";
    }
});
function popWin(selectAction, Title) {
    setTimeout(
                      function() {
                          ymPrompt.win({ message: selectAction, //弹出页面路径
                              width: 470, //弹出页面宽度
                              height: 500, //弹出页面高度
                              title: Title, //弹出页面标题
                              handler: null,
                              maxBtn: true, //是否有最大化按钮
                              minBtn: true, //是否有最小化按钮
                              iframe: true
                          });
                      }, 50);
    return false;
}